<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>制作全景图</title>
    <style>
      .box {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 100px;
        border-radius: 100px;
        /* border: 1px solid #1296db; */
        width: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      input {
        border: none;
        outline: none;
        border-bottom: 1px solid #1296db;
        padding: 20px;

      }
      .btn {
        border: 1px solid #1296db;
        height: 40px;
        border-radius: 40px;
        line-height: 40px;
        font-size: 10px;
        padding: 0 20px;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <input type="text" placeholder="输入图片链接制作全景图" />
      <div class="btn">开始制作</div>
    </div>
  </body>
  <script>
    let dom=document.querySelector('input')
    let btn=document.querySelector('.btn')
    btn.onclick= function (){
        window.location.href='./index.html?url='+dom.value
    }
  </script>
</html>
